############################################################
# platform/solaris5.7_cc5_B_so
#  Platform dependent information for Solaris(SunOS 5.7) or later
#  With Sun CC5 ANSI/ISO compliant C++ compiler
#  Create libcint.so shared library
#  Use sun5strm.cxx instead of sunstrm.cxx
############################################################

# Tools
RM	    = rm -f
CP	    = cp
AR	    = ar
AROPT       = cq
#KRCC        = cc
KRCC        = /opt/SUNWspro/bin/cc
CC          = /opt/SUNWspro/bin/cc
CPP         = /opt/SUNWspro/bin/CC
LD          = /opt/SUNWspro/bin/CC
CPREP       = /opt/SUNWspro/bin/cc -E -C
#CPPPREP     = /opt/SUNWspro/bin/CC -E
CPPPREP     = /usr/ccs/lib/cpp -E -C -B -D__sun -D__sparc -D__unix
# /usr/ccs/lib/cpp -D__SUNPRO_CC=0x401 -Dunix -Dsun -Dsparc -D__unix -D__sun \
# -D__sparc -D__BUILTIN_VA_ARG_INCR -D__SVR4 \
# -I/opt/SUNWspro/SC3.0.1/include/CC -I/opt/SUNWspro/SC3.0.1/include/cc -E -C -B

# Compiler and linker option
CCDLLOPT    = -KPIC
LDDLLOPT    = -G
OPTIMIZE    = -O
LDOPT       = -lm -ltermcap -ldl -L/usr/ccs/lib -lgen
SHLIB_OPT   = $(CCDLLOPT)
SYSMACRO    = -DG__REGEXP1 -DG__SHAREDLIB -DG__OSFDLL -DG__NEWSTDHEADER
#SYSMACRO    = -DG__REGEXP1 -DG__SHAREDLIB -DG__OSFDLL -DG__CPPIF_EXTERNC
OTHMACRO    = -DG__REDIRECTIO 
SYSIPATH    =

# libraries
MAINO	    = $(CINTSYSDIR)/main/G__cppmain.o
CINTLIB     = $(CINTSYSDIR)/libcint.so
READLINEA   = 
#  GNU readline caused problem on this platform
# READLINEA   = $(CINTSYSDIR)/readline/libreadline.a
APIO	    = Api.o Class.o BaseCls.o Type.o DataMbr.o Method.o MethodAr.o CallFunc.o Typedf.o Apiif.o Token.o
RANLIB	    = /usr/bin/ranlib
## Whether sun5strm or sunstrm is questionable
#STDLIBS     = sun5strm.o stdstrct.o
STDLIBS     = sunstrm.o stdstrct.o
PLATFORM    = $(CINTSYSDIR)/main/G__setup.o

# source code postfix
CSRCPOST    = .c
CHDRPOST    = .h
CPPSRCPOST  = .C
CPPHDRPOST  = .h
OBJPOST     = .o
DLLPOST     = .dl




